<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/fmt"  prefix="fmt"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
		.content{
			margin: 30px;
			
		}
		
		.content p{
			font-size:20px;
			margin-left:20px;
			margin-top: 20px;
		}
		
		.return{
			font-size: 20px;
			margin-left:120px;
			background-color:#9FB2C2;
	 	    color:#516D8A;
	 	    width: 45px;
		}
		.img{
			background-color:gray;
			width: 200px;
			height: 190px;
			float: left;
		}
		
		.tet{
			float: left;
			
		}
		#tu1{
			margin-left: 150px;
		}
</style>
</head>
<body>
	<div
		style="width: 1050px; height: 570px; background-color: #FFF; margin: 20px;">
		<h4
			style="background-color: #9FB2C2; padding-left: 10px; color: #516D8A; line-height: 40px;">
			<img alt="" src="${initParam.url}/statics/images/title.jpg">
			
	房屋详情
		</h4>
		<div class="content">
			<h3>${owners.community.communityName }</h3>
			<div class="img">
			
				<c:if test='${owners.community.communityImg==null or owners.community.communityImg==""  }'>
					<a href="${initParam.url }/statics/images/暂无图片.jpg">
						<img style="width: 200px;height: 190px;padding: 5px;" onerror="${initParam.url }/statics/images/暂无图片.jpg" src="${initParam.url }/statics/images/暂无图片.jpg">
					</a>
				</c:if>
				<c:if test='${owners.community.communityImg!=null and owners.community.communityImg!="" }'>
					<a href="${initParam.url }/statics${owners.community.communityImg }">
						<img style="width: 200px;height: 190px;padding: 5px;" onerror="${initParam.url }/statics/images/暂无图片.jpg" src="${initParam.url}/statics${owners.community.communityImg }">
					</a>
				</c:if>
				
			</div>
			<div class="tet">
			<p>小区地址：${prov.province}&nbsp;${city.city}&nbsp;${dist.district}</p>
			<p>物管联系电话：${phone.phone }</p>
			<p class="cc">安保联系电话：${owners.community.securityPhone}</p>
			
			 <button id="tu1" class="btn btn-default" type="button" onclick="history.go(-1);">返回</button>
			 </div>
		</div>
		</div>
</body>
</html>